<?php $this->_extends('_layouts/default_layout'); ?>
<?php echo $this->_block('title')?>
<?php echo $config['sitename'] ?>

<?php echo $this->_endblock()?>

<?php $this->_block('center'); ?>

<div class="pageMain clearfix">
	<div class="m-left">
		<div class="formCont">
			<h2>金融资讯</h2>
			<div class="newslist">
				<ul>
				<?php foreach ($data['fetch_data'] as $item):?>
					<li>
						<span><?php echo date('Y-m-d H:i:s',$item->createtime);?></span>
						<a target="_blank" title="<?php echo $item->title;?>" href="<?php echo url("news/view",array('id'=>$item->id))?>"><?php echo $item->title;?></a>
					</li>
				<?php endforeach;?>	
				</ul>
			</div>
			<div class="bottom_page pagination">
				<?php echo $this->_control('pagination', 'my-pagination', array('pagination' => $pagination,'url_args'=>$param)); ?>
			</div>
		</div>
	</div>
	

<?php $this->_element('topright') ?>

					<?php $this->_endblock(); ?>
					<?php $this->_block('scripts'); ?>

					<?php $this->_endblock(); ?>